<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>第一个vue</title>
    <script src="vue.js"></script>
</head>
<body>
    <div id="app">
        <h1>name:{{name}}</h1>
        <h1>age:{{age}}</h1>
        
    </div>
    <script>
        var vm = new Vue({
            el:'#app',
            data:{
                name:'张三',
                age:20
                
            }
        })
    </script>
    
</body>
</html>